package com.hyp.service;

import com.hyp.pojo.Appointment;
import com.hyp.pojo.AppointmentDTO;
import com.hyp.pojo.Product;

import java.util.List;

public interface AppointmentService {
    void addAppoint(Appointment appointment);

    List<Appointment> appointlist(Integer userId,String appointmentStatus);

    Appointment appointlistById(Integer appointmentId);

    void offappoint(Appointment appointment);

    List<Product> search(String description);

    List<AppointmentDTO> allappointlist();

    void finishappoint(Appointment appointment);
}
